<?php
  class db_handler
  {
      var $con;
      function db_handler()
      {
         
      }
      
      function select_config_rules($config_id)
      {
          $q_r= "SELECT * FROM markup_configs WHERE config_id='$config_id'";
          $res= mysql_query($q_r);
          $ar=array();
          while($result= mysql_fetch_object($res))
          {
           $ar[]=$result;   
          }
          return $ar;
      }
      
  }
?>
